
import {
  requestAjax
} from '../config.js'
// 地图
export const mapFloor = (data) => {
  return requestAjax('/api/v1/mapFloor/treeByType', data, 'GET')
}

// 路线
export const linePageList = (data) => {
  return requestAjax('/api/v1/line/pageList', data, 'GET')
  // return requestAjax('/api/v1/line/user/myLineList', data, 'GET')
}
// 路线详情
export const lineDetails = (data) => {
	return requestAjax(`/api/v1/line/user/get/${data.id}`, {}, 'GET')
  // return requestAjax('/api/v1/line/user/myLineList', data, 'GET')
}


// 扫码领取徽章
export const scanReceiveBadge = (data) => {
  return requestAjax('/api/v1/mapFloor/user/scanReceiveBadge', data, 'POST')
  // return requestAjax('/api/v1/line/user/myLineList', data, 'GET')
}
